10.3 Appendix 3 - ROS 2 Services Compatibility
Custom services types(.srv) works between dockers when the name is the same, different names with same type do not work.
Results of testing services between different ROS 2 versions
Server/Client |
Foxy |
Humble |
Jazzy |
Lyrical |
|---|---|---|---|---|
Foxy |
yes |
yes |
not tested |
|
Humble |
yes |
yes |
yes |
not tested |
Iron |
not tested |
maybe. See below |
yes |
not tested |
Jazzy |
not tested |
maybe. See below |
yes |
not tested |
Lyrical |
not tested |
not tested |
not tested |
yes |
Note that ROS 2 Humble was affected by a bug where node would leak memory if exposed to messages from newer versions of ROS 2. While the version linked to the controller has been patched, other nodes such as your own, or the ones used in URCapX may still be vulnerable. Proceed with caution especially when mixing ROS 2 versions older and newer than the one used in the controller.